<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>后台管理系统</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
	<style>
		span.button.root_close::before {
			content: "\e623";
		}
		span.button.root_open::before {
			content: "\e625";
		}
	</style>
</head>
<body class="childrenBody">
<form class="layui-form" lay-filter="component-form-element">
	<div class="layui-form-item">
	</div>
	<%--<div class="layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">表格</label>
			<div class="layui-input-inline">
				<input type="hidden" name="name" id="name" placeholder="" autocomplete="off" class="layui-input" value="">
			</div>
		</div>
	</div>--%>
	<div class="layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">表格名称</label>
			<div class="layui-input-inline">
				<input type="hidden" name="name" id="name" placeholder="" autocomplete="off" class="layui-input" value="">
				<input type="text" name="nameZh" id="nameZh" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="">
			</div>
		</div>
	</div>
	<div id="text-data-1" class="layui-form-item">
		<div class="layui-col-lg10" id="rows-list">
			<label class="layui-form-label">字段信息</label>
			<div class="layui-input-block">
				<table id="tableList" lay-filter="tableList"></table>
			</div>
			<%--<div class="layui-input-block">
				<!--<input type="hidden" name="specifications[0].specificationsTypeId">-->
				<div class="layui-input-inline">
					<input type="text" name="tableRows[0].name" id="item-name" lay-verify="required" placeholder="字段名" autocomplete="off" class="layui-input" value="">
				</div>
				<div class="layui-form-mid">-</div>
				<div class="layui-input-inline">
					<input type="text" name="tableRows[0].type" id="type" placeholder="字段类型" autocomplete="off" class="layui-input price" value="">
				</div>
				<div class="layui-form-mid">-</div>
				<div class="layui-input-inline">
					<input type="text" name="tableRows[0].nameZh" id="price" placeholder="中文名称" autocomplete="off" class="layui-input stock" value="">
				</div>
				<div class="layui-input-inline">
					<select id="" name="tableRows[0].formType" id="formType" lay-verify="required">
                    	<option value="">表单类型</option>
                    	<option value="input">输入框</option>
                    	<option value="textarea">文本输入框</option>
                    	<option value="date">时间</option>
                    	<option value="img">图片</option>
                    	<option value="layedit">富文本编辑器</option>
                	</select>
				</div>
			</div>
			<button style="position: relative;top: -37px;" id="add-spec-item" class="layui-btn layui-btn-primary"><i class="layui-icon layui-icon-add-circle"></i>添加</button>
		--%>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-block">
				<textarea name="remarks" id="remarks" placeholder="请输入内容" class="layui-textarea"></textarea>
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit lay-filter="edit">提交修改</button>
			<%--<button type="reset" class="layui-btn layui-btn-primary">重置</button>--%>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-block"></div>
	</div>
</form>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/js/common/jquery-3.3.1.js"></script>
<script src="/js/common/jquery.cookie.js"></script>
<script src="/js/common.js"></script>
<script src="/layui/mymodule/common.js"></script>
<script type="text/javascript" src="/js/traceablility/template/tableTypeEdit.js"></script>
</body>
</html>